FROM xinmu123/env-image:cmvn-jdk8

COPY ./src /apprun/src
COPY ./pom.xml /apprun/

RUN mvn -f ./apprun/pom.xml install

CMD ["--server.port=8080"]

EXPOSE 8080

ENTRYPOINT ["java","-jar","./apprun/target/mall-0.0.1-SNAPSHOT.jar"]